package edu.sctu.zhangwang.month201505.day20150525.test01;

/**
 * Created by Administrator on 2015/5/25 0025.
 */
public class PeopleTest {
    public static void main(String[] args) {
        PeopleOne peopleOne = new PeopleOne("小张","1110",18,"男");
//        peopleOne.especial = "唱歌和跳舞";
        peopleOne.setEspecial("唱歌和跳舞");
        peopleOne.getPeopleInfo();

        PeopleTwo peopleTwo = new PeopleTwo("小王","1101",20,"女");
        peopleTwo.printInfo();
        peopleTwo.setHeight(170);
        peopleTwo.printHeight();

        PeopleThree peopleThree = new PeopleThree("小李","1112",19,"男");
        peopleThree.setEspecial("打篮球");
        peopleThree.printInfo();
        peopleThree.printEspexial();
    }
}
